﻿<dx:DXWindow
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        
        xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
xmlns:dxd="http://schemas.devexpress.com/winfx/2008/xaml/docking"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"

        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="DXWpfApplication.MainWindow"

        Title="DXWpfApplication" Height="600" Width="800"
        dx:ThemeManager.ThemeName="LightGray"
             WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" MinHeight="29.224"/>
            <RowDefinition Height="0.912*"/>
            <RowDefinition Height="0.088*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" MinWidth="167.776"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <StackPanel Margin="12,5,12,146" Grid.Row="1">
            <Button x:Name="GeneralInfoButton" Content="设备信息" Click="GeneralInfoButton_OnClick"/>
            <Button x:Name="Cameras" Content="相机设置" Click="Cameras_Click"/>
            <Button Content="控制命令"/>
            <Button Content="关于" VerticalAlignment="Center"
            	Click="Button_Click" />
        </StackPanel>
        <Frame x:Name="mainViewContainer" Content="" Grid.Column="1" Grid.Row="1" Margin="5,5,5,8" NavigationUIVisibility="Hidden"/>
        <StackPanel Margin="-168.776,0,0,0" Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Left" Width="421">
            <Label Content="设备IP：" VerticalAlignment="Center"/>
            <TextBox TextWrapping="Wrap" Width="225.487" VerticalAlignment="Center"/>
            <Button Content="连接" Width="75" Margin="3,3,0,3"/>
        </StackPanel>
        <StackPanel Grid.Column="1" Margin="300.224,0,5,0"/>
    </Grid>

</dx:DXWindow>